package com.hulang.sms.sending.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hulang.sms.sending.bean.AliYunSmsPlatform;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface AliYunSmsPlatformMapper extends BaseMapper<AliYunSmsPlatform> {

    String tableName = "t_aliyun_sms_platform";

    @Select("select * from "+tableName+" where templateSeq = #{templateSeq}")
    AliYunSmsPlatform getAliYunSmsPlatformBySeq(Integer templateSeq);
}
